extends Talent

var buff = globalData.infoDs["g_azurlaneBuffs"]
func init():
	name = "航空战术"
func _connect():
	sys.main.connect("onCharaNewChara", self, "onCharaNewChara")

func onCharaNewChara(cha):
	if cha.team == 1:
		cha.addBuff(b_airTactics.new(lv))

#7 9 11 13 15
func get_info():
	return "舰载机获得%d%%的伤害与%d%%减伤加成"%[5+lv*2, 5+lv*2]

class b_airTactics extends "../../azurlane_ctrl/AzurBuff.gd":
	func _init(tlv):
		buffName = "航空战术"
		dispel = 1
		att = utils.loadScript("AzurAtt")
		att.atkR = 0.05 + tlv*0.02
		att.defR = 0.05 + tlv*0.02
		id = "b_airTactics"

